<cfparam name="cid" default="0">
<cfparam name="start" default="1">
<cfparam name="end" default="10">
<cfinvoke component="cfcs.blog" method="getincategory" cid="#cid#" returnvariable="qincategory" />
<cfinvoke component="cfcs.blog" method="getcategory" cid="#cid#" returnvariable="qcategory" />
<cfset totalcount = qincategory.recordcount>

<cfoutput><h2>Latest Posts in #qcategory.cname#</h2></cfoutput>
<div id="blog_pad1">
<cfloop query="qincategory" startrow="1" endrow="10">
<cfoutput>
<cfinclude template="entry.cfm">
</cfoutput>
</cfloop>
</div>

